package cn.itcast.domain;

import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Getter
@Setter
public class Item {

    private int id;
    private String name;
    private double price;
    private Date createtime;
    private String detail;

    public Item(){

    }

    public Item(String name, double price, Date createtime, String detail) {
        super();
        this.name = name;
        this.price = price;
        this.createtime = createtime;
        this.detail = detail;
    }

}
